package com.example.famhealing.gcm;

import java.util.ArrayList;

import android.content.Context;

public final class Configuration {
	
	private static Configuration uniqueConfigure = null;
	private static ArrayList<AlarmData> arrayListAlarmDatas = new ArrayList<AlarmData>();;
	private static AdapterAlarm arrayAdapterAlarmList; 
	private Configuration (Context context){		
		
	}	
	public static Configuration getInstance(Context context){
		if(uniqueConfigure == null){
			uniqueConfigure = new Configuration(context);
			arrayAdapterAlarmList = new AdapterAlarm(context, arrayListAlarmDatas);
		}
		return uniqueConfigure;
	}

	
	public static AdapterAlarm getArrayAdapterAlarmList() {
		return arrayAdapterAlarmList;
	}
	public static void setArrayAdapterAlarmList(AdapterAlarm arrayAdapterAlarmList) {
		Configuration.arrayAdapterAlarmList = arrayAdapterAlarmList;
	}
	public static ArrayList<AlarmData> getArrayListAlarmDatas() {
		return arrayListAlarmDatas;
	}
	public static void setArrayListAlarmDatas(
			ArrayList<AlarmData> arrayListAlarmDatas) {
		Configuration.arrayListAlarmDatas = arrayListAlarmDatas;
	}
	public void updateToServer(){
		
	}
	
}
